package com.zzl.oop;

/**
 * 测试return
 * @author Administrator
 *
 */
public class Return {
	public static void main(String[] args) {
		Return r = new Return();
		System.out.println(r.two());
	}
	
	public String one(){
		System.out.println("方法一");
		
		return "1";
	}
	
	public String two(){
		String one = one();
		System.out.println(one);
		System.out.println("方法二");
		
		return "2";
	}
	
	
}
